﻿<Window x:Class="SsTool.Base.Windows.NavigationWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="NavigationWindow" Height="400" Width="600" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
            <TextBlock Text="Parent:"/>
            <TextBox Text="{Binding Path=Parent.Caption}" IsReadOnly="True"/>
            <TextBlock Text="Caption:"/>
            <TextBox Text="{Binding Caption,Mode=TwoWay}"/>
            <TextBlock Text="View:"/>
            <TextBox Text="{Binding Path=View.Caption}" IsReadOnly="True" Background="Yellow" MouseDoubleClick="TextBox_MouseDoubleClick" />
            <TextBlock Text="Arguments:"/>
            <TextBox Text="{Binding Arguments,Mode=TwoWay}"/>
            <StackPanel Orientation="Horizontal" Margin="10,0,0,0">
                <Button Name="_ctlBtnSelectActivity" Content="选择流程-活动" Click="_ctlBtnSelectActivity_Click" />
            </StackPanel>
        </StackPanel>
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="Submit" Name="_ctlSubmit" Click="_ctlSubmit_Click" />
        </StackPanel>
    </Grid>
</Window>
